home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Deutsche Edition 1
/
Deutsche Edition 1.iso
/
amok
/
081-090
/
amok83
/
tked
/
errortools.lha
/
ErrorTools
/
Lattice_C
/
LatticeErrToTKEd.doc
< prev
next >
Wrap
Text File
|
1992-10-28
|
3KB
|
100 lines
***************************************************************
* *
* Manual for LatticeErrToTKEd *
* *
* Author: Christoph Kirsch *
* Holstenhofweg 85 *
* 2000 Hamburg 70 *
* *
* Date : 22.09.1992 *
* *
***************************************************************
Contents of the directory 'ErrorTools/Lattice_C':
- LatticeErrToTKEd
- DeleteLnk
- ExecuteC
- the script compile
- the script compile_m
- the script compile_opt
- the script compile_stdopt
- the sources of LatticeErrToTKEd, DeleteLnk und ExecuteC
- A small demo-file Fehler.c
- This document
This package was designed to make an easy to use programmer-environment
from TKEd to the Lattice-C Compiler V5.1b
LatticeErrToTKEd:
Name of the sourcecode: ErrConvert.c.
This programm converts the error-messages of the Lattice-C compiler
(V5.1b) into the format of the TKEd.
You must start the compiler with the options
lc >T:Err -L <filename>
All output of the compiler are redirected to the file 'T:Err'
LatticeErrToTKEd converts this file to the file 'RAM:TKEd' which is
read by TKEd when choosing the menu 'First Error'
Example: lc >T:Err -l Hello.c
DeleteLnk:
This programm deletes the files 'filename.lnk', 'filename.o' and
'filename.map' to save diskspace.
'filename.c' should be the parameter for DeleteLnk.
Example: DeleteLnk Hello.c
ExecuteC:
No more needed since TKEd V1.09.
Uses a sourcecodename (Hello.c) as parameter and start the
programm (without the extension #.c')
Example: ExecuteC Hello.c will start the programm 'Hello'
compile:
This is the main script, which is called from a user-menu of TKEd
with
"compile {}"
and that calls all other programms automaticly.
The current text will be compiled, and the '.o', '.lnk' and '.map'
files will be deleted.
ATTENTION !!! :
- The s-bit of 'compile' must be set
- All paths must be set correctly (in the script, too)
The compiler uses the options in ENV:SASCOPTS, which can be set
by the sascoptions programm of the compiler (see manual)
Using this programm, you can adjust the compiler-option from TKEd!
compile_m:
Same as 'compile', but links the floatingpoint-library to the code.
compile_opt
Same as 'compile' but with the option to add compiler-option from
TKEd. (see TKEd.doc).
compile_stdopt
Same as 'compile' with an additional call of OptConvert to convert the
ENV:SASCOPTS to ENV:SASCOPTSTRING; No more needed with newer versions
of the compiler.
Fehler.c
Example source-code with some errors.